<section class="content" style="padding: 10px">
    <div class="row">
        <div class="col-12">
            <div class="card card-default">
                <div class="card-header">
                    <h3 class="card-title">搜索</h3>
                </div>


                <div class="card-body">
                    <form role="form" data-form="1" data-search-table-id="1" data-title="自定义标题" >
                        <div class="form-inline"  >
                            <div class="form-group">
                                <label  >开始时间：</label>
                                <input type="text" class="form-control" name="start_time" placeholder="" id="start" autocomplete="off">
                            </div>
                            <div class="form-group">
                                <label  >结束时间：</label>
                                <input type="text" class="form-control" name="end_time" placeholder="" id="end" autocomplete="off">
                            </div>
                            <div class="form-group" style="margin-left: 10px">
                                <button type="submit" class="btn btn-primary">提交</button>
                                <button type="reset" class="btn btn-default">重置</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>




<div class="content">
    <div class="card-body table-responsive" style="padding-top: 0px">
<!--        <a class="btn   btn-outline-primary btn-table-tool btn-dialog" href="{url card add_edit}" data-area="50%,50%" title="新增类别">新增</a>-->
    </div>
    <div class="card-body table-responsive" style="padding-top: 0px">
        <table data-table="1" data-url="{url performance_log info_ajax_data }&admin_id={$admin_id}" id="table1" class="table table-hover">
            <thead>
            <tr>

                <th data-field="id" data-formatter="epiiFormatter">ID</th>
                <th data-field="admin_name" data-formatter="epiiFormatter">姓名</th>
                <th data-field="money" data-formatter="epiiFormatter">提成金额</th>
                <th data-field="treatment_name" data-formatter="epiiFormatter">服务名称</th>
                {if $adminInfo['role']==1}
                <th data-field="hospital_name" data-formatter="epiiFormatter">所属医院</th>
                {/if}
                <th data-field="addtime" data-formatter="epiiFormatter">时间</th>

<!--                <th data-formatter="epiiFormatter.btns"-->
<!--                    data-btns="info"-->
<!--                    data-edit-url="{url card add_edit}&id={id}"-->
<!--                    data-edit-title="编辑：{name}"-->
<!--                    data-del-url="{url card del }&id={id}"-->
<!--                    data-del-title="删除：{name}"-->
<!--                    data-area="50%,50%"-->
<!--                >操作-->
<!--                </th>-->
            </tr>
            </thead>
        </table>
    </div>

</div>
<script src="{$laydate}/laydate.js"></script>
<script>

    window.onEpiiInit(function() {
        laydate.render({
            elem: '#start',
            trigger: 'click',
            format: 'yyyy-MM-dd',
        });
        laydate.render({
            elem: '#end',
            trigger: 'click',
            format: 'yyyy-MM-dd',
        });
    });
</script>
